package com.exposit.smarthouse.dao;

import com.exposit.smarthouse.obj.impl.*;

public interface Dao<T extends PersistenceEntity>
{
   void saveOrUpdate(T entity);

   void delete(T entity);

   T findByIdentity(Long identity);
}
